using System.ComponentModel.DataAnnotations;

namespace LangChainServer.Models
{
    public class LangChainChatRequest
    {
        public string? Model { get; set; } // e.g., gpt-3.5-turbo, gpt-4o-mini
        public double Temperature { get; set; } = 0.7;
        [Required]
        public string Input { get; set; } = string.Empty; // single-turn input
        public string? SessionId { get; set; } // to associate memory across requests (optional)
        public string? Category { get; set; } // used by structured prompt
    }

    public class LangChainChatResponse
    {
        public string Content { get; set; } = string.Empty;
        public string? Model { get; set; }
    }
}
